package com.mingqijia.gassafety.webserver.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 入参
 */
@Data
public class SignRequest {
    @NotBlank(message = "报警时间不能为空")
    @ApiModelProperty("报警时间")
    private String time;
    @ApiModelProperty("是否办结0未办结  1已办结")
    private Integer isFinished;
    @NotNull(message = "处理类型不能为空")
    @ApiModelProperty("处理结果：  1人工处理 2短信处理 3电话处理 4测试 ")
    private Integer dealtResult;
    @ApiModelProperty("处理记录")
    private String dealtRecord;
    @ApiModelProperty("imei")
    @NotBlank(message = "imei不能为空")
    private String imei;
    /**
     * 报警记录id
     */
    @ApiModelProperty(value = "id")
    @NotNull(message = "id不能为空！")
    private Long id;

    @ApiModelProperty("报警原因")
    private String valveBrokenInfo;

}
